﻿namespace ManagementApi.Models
{
    /// <summary>
    /// VUE 使用的标签与值
    /// </summary>
    /// <typeparam name="TVaule">值类型</typeparam>
    public class LabelValue<TVaule>
    {
        /// <summary>
        /// 标签
        /// </summary>
        public string Label { get; set; } = string.Empty;

        /// <summary>
        /// 值
        /// </summary>
        public TVaule? Value { get; set; }

        /// <summary>
        /// 扩展字段
        /// </summary>
        public object Extend1 { get; set; } = string.Empty;

        /// <summary>
        /// 扩展字段
        /// </summary>
        public object Extend2 { get; set; } = string.Empty;

        /// <summary>
        /// 扩展字段
        /// </summary>
        public object Extend3 { get; set; } = string.Empty;
    }
}